<?php /* Smarty version 2.6.26, created on 2010-06-30 10:11:31
         compiled from home.tpl */ ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo $this->_tpl_vars['title']; ?>
</title>
<link href="css/twoColFixLtHdr.css" rel="stylesheet" type="text/css" />
<script language="javascript">
function check()
{
	if(login.username.value == "")
	{
		alert("请输入用户名!");
		return false;
	}
	else if(login.password.value == "")
	{
		alert("请输入密码!");
		return false;
	}
	else if(login.verifycode.value == "")
	{
		alert("请输入验证码!");
		return false;
	}
	return true;
}
</script>
</head>
<body class="twoColFixLtHdr">
<div id="logo"></div>
<div id="navi"><table border="0" cellpadding="0" cellspacing="0"><tr>
<?php unset($this->_sections['index']);
$this->_sections['index']['name'] = 'index';
$this->_sections['index']['loop'] = is_array($_loop=$this->_tpl_vars['navirows']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['index']['show'] = true;
$this->_sections['index']['max'] = $this->_sections['index']['loop'];
$this->_sections['index']['step'] = 1;
$this->_sections['index']['start'] = $this->_sections['index']['step'] > 0 ? 0 : $this->_sections['index']['loop']-1;
if ($this->_sections['index']['show']) {
    $this->_sections['index']['total'] = $this->_sections['index']['loop'];
    if ($this->_sections['index']['total'] == 0)
        $this->_sections['index']['show'] = false;
} else
    $this->_sections['index']['total'] = 0;
if ($this->_sections['index']['show']):

            for ($this->_sections['index']['index'] = $this->_sections['index']['start'], $this->_sections['index']['iteration'] = 1;
                 $this->_sections['index']['iteration'] <= $this->_sections['index']['total'];
                 $this->_sections['index']['index'] += $this->_sections['index']['step'], $this->_sections['index']['iteration']++):
$this->_sections['index']['rownum'] = $this->_sections['index']['iteration'];
$this->_sections['index']['index_prev'] = $this->_sections['index']['index'] - $this->_sections['index']['step'];
$this->_sections['index']['index_next'] = $this->_sections['index']['index'] + $this->_sections['index']['step'];
$this->_sections['index']['first']      = ($this->_sections['index']['iteration'] == 1);
$this->_sections['index']['last']       = ($this->_sections['index']['iteration'] == $this->_sections['index']['total']);
?>
<td><a href="<?php echo $this->_tpl_vars['navirows'][$this->_sections['index']['index']]['modhref']; ?>
"><?php echo $this->_tpl_vars['navirows'][$this->_sections['index']['index']]['modname']; ?>
</a></td>
<?php endfor; endif; ?>
</tr></table>
</div>
<div id="container">
  <div id="header">
<div id="picbox">
<div id="inpicbox">
<div id="picbox1">
<img src="pics/slide1.gif" /> 
<img src="pics/slide2.gif" />
<img src="pics/slide3.gif" /> 
<img src="pics/slide4.gif" /> 
<img src="pics/slide5.gif" /> 
<img src="pics/slide6.gif" /> 
<img src="pics/slide7.gif" /> 
</div>
<div id="picbox2"></div>
</div>
</div>
  <!-- end #header --></div>
<script type="text/javascript">
<!--
var speed=10;
var tab=document.getElementById("picbox");
var tab1=document.getElementById("picbox1");
var tab2=document.getElementById("picbox2");
tab2.innerHTML=tab1.innerHTML;
function Marquee(){
if(tab2.offsetWidth-tab.scrollLeft<=0)
tab.scrollLeft-=tab1.offsetWidth
else{
tab.scrollLeft++;
}
}
var MyMar=setInterval(Marquee,speed);
tab.onmouseover=function() {clearInterval(MyMar)};
tab.onmouseout=function() {MyMar=setInterval(Marquee,speed)};
-->
</script>
<div id="sidebar1">
<form method="post" name="login" style="text-align:left;" action="checklogin.php" onSubmit="return check();">
<table width="240" border="0" cellspacing="0" cellpadding="0" id="table_login">
<tr>
  <th height="40" colspan="2">&nbsp;>>用户登录&nbsp;&nbsp;&nbsp;
  <a style="text-decoration:underline;" href="">后台登录</a></th></tr>
  <tr style="background-color:#888888"><td width="70" height="35">&nbsp;用户名:</td><td><input type="text" size="16" name="uname"/></td></tr>
  <tr style="background-color:#999999"><td width="70" height="35">密码:</td><td><input type="password" size="16" name="password"></td></tr>

  <tr style="background-color:#aaaaaa"><td width="70" height="35">&nbsp;验证码:</td>
  <td><input class="text" name="verifycode" type=text value="" maxLength="4" size="10">
  <img src="includes/verifycode.php" width="50" height="20"></td></tr>
<tr style="background-color:#999999"><td colspan="2" height="35"><a href="">密码重置</a></td></tr>
 <tr><td height="35" colspan="2" style="text-align:center; background-color:#666666"><input type="submit" name="login" value="登录" />&nbsp;&nbsp;&nbsp;
<input type="button" name="register" value="注册" onclick="window.location.reload('register.php');"  /></td></tr>
</table></form><br />
<table width="240" border="0" cellspacing="0" cellpadding="0" id="table">
  <tr>
    <th height="35"><a href="#">&nbsp;&nbsp;>>网站公告</a></th>
  </tr>
  <tr>
    <td height="100px"><marquee direction="up" scrollamount="3" onmouseover=stop() onmouseout=start()><label>
    <?php unset($this->_sections['index']);
$this->_sections['index']['name'] = 'index';
$this->_sections['index']['loop'] = is_array($_loop=$this->_tpl_vars['annrows']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['index']['show'] = true;
$this->_sections['index']['max'] = $this->_sections['index']['loop'];
$this->_sections['index']['step'] = 1;
$this->_sections['index']['start'] = $this->_sections['index']['step'] > 0 ? 0 : $this->_sections['index']['loop']-1;
if ($this->_sections['index']['show']) {
    $this->_sections['index']['total'] = $this->_sections['index']['loop'];
    if ($this->_sections['index']['total'] == 0)
        $this->_sections['index']['show'] = false;
} else
    $this->_sections['index']['total'] = 0;
if ($this->_sections['index']['show']):

            for ($this->_sections['index']['index'] = $this->_sections['index']['start'], $this->_sections['index']['iteration'] = 1;
                 $this->_sections['index']['iteration'] <= $this->_sections['index']['total'];
                 $this->_sections['index']['index'] += $this->_sections['index']['step'], $this->_sections['index']['iteration']++):
$this->_sections['index']['rownum'] = $this->_sections['index']['iteration'];
$this->_sections['index']['index_prev'] = $this->_sections['index']['index'] - $this->_sections['index']['step'];
$this->_sections['index']['index_next'] = $this->_sections['index']['index'] + $this->_sections['index']['step'];
$this->_sections['index']['first']      = ($this->_sections['index']['iteration'] == 1);
$this->_sections['index']['last']       = ($this->_sections['index']['iteration'] == $this->_sections['index']['total']);
?>
    <a id="a1" href="ann_view.php?anid=<?php echo $this->_tpl_vars['annrows'][$this->_sections['index']['index']]['anid']; ?>
"><?php echo $this->_tpl_vars['annrows'][$this->_sections['index']['index']]['title']; ?>
</a><br/><br/>
    <?php endfor; endif; ?>
    </label></marquee>
    </td>
  </tr>
  <tr>
    <th height="30">&nbsp;</th>
  </tr>
</table><br />
</div>
  <div id="mainContent">
<h1> 关于我们 </h1>
    <p>IBM俱乐部成立于...</p><br/>
    <h2>俱乐部特色活动 </h2>
    <p>IBM俱乐部于...举办2010大型机技术竞赛...</p>
    <p>IBM俱乐部于...举办...活动...</p>
    <p>IBM俱乐部于...举办...活动..</p>
    <p>IBM俱乐部于...举办...活动...</p>
	<!-- end #mainContent --></div>
    <br class="clearfloat" />
  <div id="footer">
<p>Copyright © 2010 IBM club,Shenzhen University, All Rights Reserved.</p>
  <!-- end #footer --></div>
<!-- end #container --></div>
</body>
</html>